<?

class A
{
  var $value;
  var $op;

  function __construct($v)
  {
    $this->value = $v;
  }

  function lt($v)
  {
    $this->op = "<";
    return $this->value < $v ? "true" : "false";
  }
}

$a = new A(6);

echo $a lt 7 , PHP_EOL;

?>